const TokenKey = 'token';

// 认证令牌
export function getToken() {
	return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
	return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
	return uni.removeStorageSync(TokenKey)
}

//本地缓存操作
export function getStorage(Key) {
	return uni.getStorageSync(Key)
}

export function setStorage(Key, Value) {
	return uni.setStorageSync(Key, Value)
}

export function removeStorage(Key) {
	return uni.removeStorageSync(Key)
}